﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PServiceBus.Core.Interface;
using MessageShark;

namespace PServiceBus.WCF.NetTcpTransport {
    public class SerializationBootstrapper {
        public static void Configure() {
            if (MessageSharkSerializer.IsTypeRegisterFor<ITransport>(typeof(NetTcpTransport))) return;
            MessageSharkSerializer.RegisterTypeFor<ITransport>(typeof(NetTcpTransport), 11);
        }
    }
}
